package com.example.finalassignment.pojo.dto;

public class UserRegisterDto {
    /**
     * 账号
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 确认密码
     */
    private String confirmPassword;

    /**
     * 邮箱
     */
    private String mailbox;

    /**
     * 名字
     */
    private String name;

    public UserRegisterDto() {
    }

    public UserRegisterDto(String username, String password, String confirmPassword, String mailbox, String name) {
        this.username = username;
        this.password = password;
        this.confirmPassword = confirmPassword;
        this.mailbox = mailbox;
        this.name = name;
    }

    public UserRegisterDto(String username, String password, String confirmPassword) {
        this.username = username;
        this.password = password;
        this.confirmPassword = confirmPassword;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getConfirmPassword() {
        return confirmPassword;
    }

    public void setConfirmPassword(String confirmPassword) {
        this.confirmPassword = confirmPassword;
    }

    public String getMailbox() {
        return mailbox;
    }

    public void setMailbox(String mailbox) {
        this.mailbox = mailbox;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "UserRegisterDto{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", confirmPassword='" + confirmPassword + '\'' +
                ", mailbox='" + mailbox + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
